package cc.koit.hulk.dao.mapper;

import cc.koit.hulk.dao.entity.Log;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface LogRepository extends MongoRepository<Log, String> {

    public List<Log> findByType(int type);

    public List<Log> findAll();

}
